'use strict';

angular.module('oaApp')
  .config(function ($stateProvider) {
    $stateProvider
      .state('app', {
        abstract: true,
        templateUrl: 'app/content.html',
        controller: 'AppCtrl'
      })
      .state('app.main', {
        url: '/',
        templateUrl: 'app/main/main.html',
        controller: 'MainCtrl'
      })
      .state('app.users', {
        url: '/profiles',
        templateUrl: 'app/main/profiles.html',
        controller: 'ProfilesCtrl'
      });
  });
